package cn.mumzone.pos.presenter.contract;

import java.util.ArrayList;
import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.ReserveTimeEntity;

/**
 * Created by qiuzhenhuan on 2019/7/6.
 */

public interface UpdateReserveTimeContract {

    interface View extends BaseView {

        void showAvailableTime(ArrayList<ReserveTimeEntity> morning, List<ReserveTimeEntity> result);

        void showUpdateReserveTimeSuccess(String date);


    }

    interface Presenter extends BasePresenter<View> {

        void loadAvailableTime(String appointmentId, String date);

        void doUpdateReserveTime(String appointmentId, String date);
    }
}
